home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmWidgetGetDisplayRect.z / XmWidgetGetDisplayRect
Encoding:
Text File  |  2003-11-18  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmWWWWiiiiddddggggeeeettttGGGGeeeettttDDDDiiiissssppppllllaaaayyyyRRRReeeecccctttt((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmWWWWiiiiddddggggeeeettttGGGGeeeettttDDDDiiiissssppppllllaaaayyyyRRRReeeecccctttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_W_i_d_g_e_t_G_e_t_D_i_s_p_l_a_y_R_e_c_t - Retrieves display rectangle
  10.       information for a widget
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       Boolean XmWidgetGetDisplayRect (wwwwiiiiddddggggeeeetttt,,,, ddddiiiissssppppllllaaaayyyyrrrreeeecccctttt)
  16.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  17.            _X_R_e_c_t_a_n_g_l_e*ddddiiiissssppppllllaaaayyyyrrrreeeecccctttt;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_W_i_d_g_e_t_G_e_t_D_i_s_p_l_a_y_R_e_c_t returns the width, height and the x
  21.       and y    coordinates of the upper left corner of    the display
  22.       rectangle of the specified widget.  The display rectangle is
  23.       the smallest rectangle that encloses either a    string or a
  24.       pixmap.
  25.  
  26.       If the widget    contains a string, the return values specify
  27.       the x    and y coordinates of the upper left corner of the
  28.       display rectangle relative to    the origin of the widget and
  29.       the width and    height in pixels.
  30.  
  31.       In the case of a pixmap, the return values specify the x and
  32.       y coordinates    of the upper left corner of the    pixmap
  33.       relative to the origin, and the width    and height of the
  34.       pixmap in pixels.
  35.  
  36.       wwwwiiiiddddggggeeeetttt
  37.            Specifies the widget ID
  38.  
  39.       ddddiiiissssppppllllaaaayyyyrrrreeeecccctttt
  40.            Specifies a pointer to an XRectangle structure in which
  41.            the x and y coordinates,    width and height of the
  42.            display rectangle are returned
  43.  
  44.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  45.       Returns True if the specified    widget has an associated
  46.       display rectangle; otherwise,    returns    False.
  47.  
  48.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  49.       _X_m_W_i_d_g_e_t_G_e_t_B_a_s_e_l_i_n_e_s(_3_X).
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.